package vow.gui.models;

import java.util.List;

import javax.swing.AbstractListModel;

import dispute.Round;

public class RoundListModel extends AbstractListModel{

	private List<Round> rounds;
	
	public RoundListModel(List<Round> rounds){
		this.rounds = rounds;
	}
	
	@Override
	public int getSize() {
		return rounds.size();
	}

	@Override
	public Object getElementAt(int index) {
		return rounds.get(index);
	}

}
